package cn.kgc.watch.entity;

import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 订单
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail {
    /**
    * id
    */
    private Long id;
    //用户
    private User user;

    /**
    * 订单详细对应的订单
    */
    private Order order;

    /**
    * 订单详情总额
    */
    private BigDecimal totalAmount;

    /**
    * 应付总额
    */
    private BigDecimal payAmount;


    /**
    * 商品Id
    */
    private CommoditySku commoditySku;

    /**
    * 商品数量
    */
    private Integer commoditySum;

    /**
    * 商品价格 被冗余
    */
    private BigDecimal commodityPrice;
    /**
     *
     */
    private Integer userId;
}